package com.example.demo.common;

/**
 * @Author: zhuchunfeng
 * @Description
 * @Date: 2020/5/14 11:08
 * Copyright (c) 2019 北京新媒传信科技有限公司
 */
public abstract class AbstractHttpException extends RuntimeException {

    private static final long serialVersionUID = -1713129594004951820L;

    private ApiCode apiCode;

    public AbstractHttpException(String msg) {
        super(msg);
    }

    public AbstractHttpException(String msg, Exception e) {
        super(msg, e);
    }


    public ApiCode getApiCode() {
        return apiCode;
    }

    public void setApiCode(ApiCode apiCode) {
        this.apiCode = apiCode;
    }
}
